package com.student.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.models.auth.In;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OrderformDetail {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer orderformId;
    private Integer goodsId;
    private Integer cookId;
    private String name;
    private String image;
    private Integer num;
    private Float money;
    private Integer stateId;
    private LocalDateTime createTime;

    @Override
    public String toString() {
        return "OrderformDetail{" +
                "id=" + id +
                ", orderformId=" + orderformId +
                ", goodsId=" + goodsId +
                ", cookId=" + cookId +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", num=" + num +
                ", money=" + money +
                ", stateId=" + stateId +
                ", createTime=" + createTime +
                '}';
    }
}
